package no.la58.scribbles.client.services;

import no.la58.scribbles.shared.GetScribbleRequest;
import no.la58.scribbles.shared.Scribble;
import no.la58.scribbles.shared.ScribbleList;
import no.la58.scribbles.shared.VoidMethodStatus;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("message")
public interface MessageService extends RemoteService {

    public VoidMethodStatus broadcastScribble(Scribble scribble);

    public ScribbleList getScribbles(GetScribbleRequest request);
}
